Java version history

The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library. Since J2SE 1.4, the evolution of the Java language has been governed by the Java Community Process (JCP), which uses Java Specification Requests (JSRs) to propose and specify additions and changes to the Java platform. The language is specified by the Java Language Specification (JLS); changes to the JLS are managed under JSR 901.

In addition to the language changes, much more dramatic changes have been made to the Java class library over the years, which has grown from a few hundred classes in JDK 1.0 to over three thousand in J2SE 5. Entire new APIs, such as Swing and Java2D, have been introduced, and many of the original JDK 1.0 classes and methods have been deprecated.

Some programs allow conversion of Java programs from one version of the Java platform to an older one (for example Java 5.0 backported to 1.4) (see Java backporting tools).

Contents

JDK 1.0 (January 23, 1996)

Codename Oak. Initial release[1][2] The first stable version was the JDK 1.0.2. is called Java 1[2]

JDK 1.1 (February 19, 1997)

Major additions included:[3]

J2SE 1.2 (December 8, 1998)

Codename Playground. This and subsequent releases through J2SE 5.0 were rebranded retrospectively Java 2 and the version name "J2SE" (Java 2 Platform, Standard Edition) replaced JDK to distinguish the base platform from J2EE (Java 2 Platform, Enterprise Edition) and J2ME (Java 2 Platform, Micro Edition). Major additions included:[4]

J2SE 1.3 (May 8, 2000)

Codename Kestrel. The most notable changes were:[5][6]

J2SE 1.4 (February 6, 2002)

Codename Merlin. This was the first release of the Java platform developed under the Java Community Process as JSR 59. Major changes included:[7][8]

Language changes
Library improvements

J2SE 5.0 (September 30, 2004)

Codename Tiger. Originally numbered 1.5, which is still used as the internal version number.[9] This version was developed under JSR 176.

J2SE 5.0 entered its end-of-life on April 8, 2008 and is no longer supported by Sun as of November 3, 2009.[10]

Tiger added a number of significant new language features:[11][12]

void displayWidgets (Iterable<Widget> widgets) {
     for (Widget w: widgets) {
         w.display();
     }
}

This example iterates over the Iterable object widgets, assigning each of its items in turn to the variable w, and then calling the Widget method display() for each item. (Specified by JSR 201.)

There were also the following improvements to the standard libraries:

Java 5 is the last release of Java to officially support the Microsoft Windows 9x line (Windows 95, Windows 98, Windows ME). [1] Unofficially, Java SE 6 Update 7 (1.6.0.7) is the last version of Java to be shown working on this family of operating systems. [2]

Java SE 6 (December 11, 2006)

Codename Mustang. As of this version, Sun replaced the name "J2SE" with Java SE and dropped the ".0" from the version number.[14] Internal numbering for developers remains 1.6.0.[15] This version was developed under JSR 270.

During the development phase, new builds including enhancements and bug fixes were released approximately weekly. Beta versions were released in February and June 2006, leading up to a final release that occurred on December 11, 2006.

Major changes included in this version:[16][17]

Java 6 updates

After Java 6 release, Sun released several updates which, while not changing any public API, enhanced end-user usability or fixed bugs.[22]

Release Release Date Highlights
Java SE 6 Update 10[23] 2008-10-15 Major changes for this update include:[23][24]
  • Java Deployment Toolkit, a set of JavaScript functions to ease the deployment of applets and Java Web Start applications.[25]
  • Java Kernel, a small installer including only the most commonly used JRE classes. Other packages are downloaded when needed.
  • Enhanced updater.
  • Enhanced versioning and pack200 support: server-side support is no longer required.[26]
  • Java Quick Starter, to improve cold start-up time.
  • Improved performance of Java2D graphics primitives on Windows, using Direct3D and hardware acceleration.
  • A new Swing look and feel called Nimbus and based on synth.[27]
  • Next-Generation Java Plug-In: applets now run in a separate process and support many features of Web Start applications.[28]
Java SE 6 Update 11[29] 2008-12-03 13 security fixes[30]
Java SE 6 Update 12[31] 2008-12-12 no security fixes; 64-bit Java plug-in (for 64-bit web browsers only); Windows Server 2008 support; performance improvements of graphics and JavaFX applications
Java SE 6 Update 14[32] 2009-05-28 This release includes extensive performance updates to the HotSpot JIT compiler, compressed pointers for 64-bit machines, as well as support for the G1 (Garbage First) low pause garbage collector.[33][34]

The -XX:+DoEscapeAnalysis option directs the HotSpot JIT compiler to use escape analysis to determine if local objects can be allocated on the stack instead of the heap.[35]

Some developers have noticed an issue introduced in this release which causes debuggers to miss breakpoints seemingly randomly.[36] Sun has a corresponding bug, which is tracking the issue. The workaround applies to the Client and Server VMs.[37] Using the -XX:+UseParallelGC option will prevent the failure. Another workaround is to roll back to update 13, or to upgrade to update 16.

Java SE 6 Update 15 2009-08-04 introduced patch-in-place functionality[38]
Java SE 6 Update 16 2009-08-11 Fixes the issue introduced in update 14 which caused debuggers to miss breakpoints.[39]
Java SE 6 Update 17[40] 2009-11-04 6+ security fixes; 2 new root certificates
Java SE 6 Update 18[41] 2010-01-13 no security fixes; support for Ubuntu 8.04 LTS Desktop Edition, SLES 11; Windows 7, Red Hat Enterprise Linux 5.3, Firefox 3.6; VisualVM 1.2; updated Java DB; many performance improvements
Java SE 6 Update 19[42] 2010-03-30 security fixes; root certificate changes: seven new, three removed, five replaced with stronger signature algorithms; interim fix for TLS renegotiation attack
Java SE 6 Update 20[43] 2010-04-15 two security fixes
Java SE 6 Update 21[44] 2010-07-07 no security fixes; support for Red Hat Enterprise Linux 5.4 and 5.5, Oracle Enterprise Linux 4.8, 5.4, 5.5; Google Chrome 4 support; support for Customized Loading Progress Indicators; Hotspot VM 17.0; VisualVM 1.2.2
Java SE 6 Update 22[45] 2010-10-12 29 security fixes; RFC 5746 support
Java SE 6 Update 23[46] 2010-12-08 no security fixes; better support for right-to-left languages
Java SE 6 Update 24[47] 2011-02-15 21 security fixes; updated Java DB
Java SE 6 Update 25 2011-03-21 no security fixes; support for Internet Explorer 9, Firefox 4 and Chrome 10; improved BigDecimal; includes "tiered" compilation in the Server VM that enables it to start quickly as does the Client VM, while achieving better peak performance. This feature is enabled by specifying -server and -XX:+TieredCompilation command options.[48]
Java SE 6 Update 26[49] 2011-06-07 17 new security fixes[50]
Java SE 6 Update 27[51] 2011-08-16 no security fixes; certification for Firefox 5
Java SE 6 Update 29[52] 2011-10-18 20 security fixes, various bug fixes[53]
Java SE 6 Update 30[54] 2011-12-12 no security fixes; fix for SSL regression in Update 29

Java SE 7 (July 28, 2011)

Java 7 (codename Dolphin[55]) is a major update to Java which was launched on July 7 of 2011[56] and was made available for developers on July 28, 2011.[57] The development period was organized into thirteen milestones; on February 18, 2011, milestone 13 (the last milestone) was reached.[58][59] On average, 8 builds (which generally included enhancements and bug fixes) were released per milestone. The feature list at the OpenJDK 7 project lists many of the feature changes.

Feature additions for Java 7 include:[60]

  • Strings in switch[63]
  • Automatic resource management in try-statement[64]
  • Improved type inference for generic instance creation[65]
  • Simplified varargs method declaration[66]
  • Binary integer literals[67]
  • Allowing underscores in numeric literals[68]
  • Catching multiple exception types and rethrowing exceptions with improved type checking[69]

Lambda (Java's implementation of lambda functions), Jigsaw (Java's implementation of modules), and part of Coin were dropped from Java 7. Java 8 will be released with the remaining features in summer 2013.[73]

Java 7 updates

Oracle plans to issue updates to the Java 7 family on a quarterly basis.

Release Release Date Highlights
Java SE 7[74] 2011-07-07 initial release
Java SE 7 Update 1[75] 2011-10-18 20 security fixes, other bug fixes
Java SE 7 Update 2[76] 2011-12-12 0 security fixes, other bug fixes

Java SE 8

Java 8 is expected in Summer 2013 [73] and will include at a minimum the features that were planned for Java 7 but later deferred.

Java 9

At JavaOne 2011, Oracle discussed features they hope to have in Java 9, including better support for multi-gigabyte heaps, better native code integration, and a self-tuning JVM.[84]

See also

References

  1. ^ Version 1.0 press release, Sun.
  2. ^ a b http://www.oracle.com/technetwork/java/chapter1-159190.pdf
  3. ^ Version 1.1 press release, Sun.
  4. ^ Version 1.2 press release, Sun.
  5. ^ Version 1.3 press release, Sun.
  6. ^ Version 1.3 full list of changes, Sun.
  7. ^ Version 1.4 press release.
  8. ^ Version full 1.4 list of changes.
  9. ^ Version 5 release notes, Sun.
  10. ^ Java SE Downloads - Previous Release - JDK 5
  11. ^ Version 1.5 press release.
  12. ^ Version 1.5 full list of changes.
  13. ^ Goetz, Brian (2006). Java Concurrency in Practice. Addison-Wesley. p. xvii. ISBN 0-321-34960-1. 
  14. ^ Java brand naming.
  15. ^ Version 6, Java webnotes, Sun.
  16. ^ Version 1.6 press release.
  17. ^ Version 1.6 full list of changes.
  18. ^ Java Lobby.
  19. ^ Mustang’s HotSpot, Sun weblogs.
  20. ^ Darcy, Joe (2008-08-03). "An apt replacement". http://blogs.sun.com/darcy/date/20090727. Retrieved 2009-07-29. 
  21. ^ "Java SE 6 Performance White Paper". 2007-10-25. http://java.sun.com/performance/reference/whitepapers/6_performance.html. Retrieved 2010-02-04. 
  22. ^ Java SE 6 Update Release Notes
  23. ^ a b Java SE 6 Update 10 Overview
  24. ^ Introducing Java SE 6 Update 10
  25. ^ Java Deployment Toolkit
  26. ^ Version Download and Pack200 Support
  27. ^ Nimbus
  28. ^ Release Notes for the Next-Generation Java Plug-In Technology
  29. ^ "Sun Java 6 Update 11 Available Now, Waiting on JavaFX". FindMySoft. http://www.findmysoft.com/news/Sun-Java-6-Update-11-Available-Now-Waiting-on-JavaFX/. Retrieved 2009-11-13. 
  30. ^ Update Release Notes, Changes in 1.6.0_11
  31. ^ "Changes in 1.6.0_12 (6u12)". Sun Microsystems. http://java.sun.com/javase/6/webnotes/6u12.html. Retrieved 2009-05-30. 
  32. ^ "Update Release Notes". Sun Microsystems. http://java.sun.com/javase/6/webnotes/ReleaseNotes.html. Retrieved 2009-05-30. 
  33. ^ Humble, Charles (2008-05-13). "JavaOne: Garbage First". infoq.com. http://www.infoq.com/news/2008/05/g1. Retrieved 2008-09-07. 
  34. ^ Coward, Dany (2008-11-12). "Java VM: Trying a new Garbage Collector for JDK 7". http://blogs.sun.com/theplanetarium/entry/java_vm_trying_a_new. Retrieved 2008-11-15. 
  35. ^ "Java SE 6 Update 14 Release Notes". Sun Microsystems. http://java.sun.com/javase/6/webnotes/6u14.html. Retrieved 2010-01-04. 
  36. ^ "Breakpoints fail to hit under JDK 1.6.0_14". https://bugs.eclipse.org/bugs/show_bug.cgi?id=279137#c14. Retrieved 2009-07-14. 
  37. ^ "Bug ID: 6862295 JDWP threadid changes during debugging session (leading to ignored breakpoints)". http://bugs.sun.com/view_bug.do?bug_id=6862295. Retrieved 2009-07-22. 
  38. ^ "Changes in 1.6.0_15 (6u15)". Sun Microsystems. http://www.oracle.com/technetwork/java/javase/6u15-142514.html. 
  39. ^ "Changes in 1.6.0_16 (6u16)". Sun Microsystems. 2009-08-11. http://java.sun.com/javase/6/webnotes/6u16.html. Retrieved 2009-08-11. 
  40. ^ "Changes in 1.6.0_17 (6u17)". Sun Microsystems. 2009-11-04. http://java.sun.com/javase/6/webnotes/6u17.html. Retrieved 2009-11-13. 
  41. ^ "Changes in 1.6.0_18 (6u18)". Sun Microsystems. 2010-01-13. http://java.sun.com/javase/6/webnotes/6u18.html. Retrieved 2010-01-18. 
  42. ^ "Changes in 1.6.0_19 (6u19)". Sun Microsystems. 2010-03-30. http://java.sun.com/javase/6/webnotes/6u19.html. Retrieved 2010-03-30. 
  43. ^ "Changes in 1.6.0_20 (6u20)". Sun Microsystems. 2010-04-15. http://java.sun.com/javase/6/webnotes/6u20.html. Retrieved 2010-04-15. 
  44. ^ "Changes in 1.6.0_21 (6u21)". Sun Microsystems. 2010-07-07. http://java.sun.com/javase/6/webnotes/6u21.html. Retrieved 2010-07-07. 
  45. ^ "Changes in 1.6.0_22 (6u22)". Oracle Corporation. 2010-10-12. http://www.oracle.com/technetwork/java/javase/6u22releasenotes-176121.html. Retrieved 2010-10-12. 
  46. ^ "Java SE 6 Update 23". Oracle Corporation. 2010-12-08. http://www.oracle.com/technetwork/java/javase/6u23releasenotes-191058.html. Retrieved 2010-12-08. 
  47. ^ "Java SE 6 Update 24". Oracle Corporation. 2011-02-15. http://www.oracle.com/technetwork/java/javase/6u24releasenotes-307697.html. Retrieved 2011-02-15. 
  48. ^ "Java SE 6 Update 25". Oracle Corporation. 2011-04-11. http://www.oracle.com/technetwork/java/javase/6u25releasenotes-356444.html. Retrieved 2011-04-24. 
  49. ^ "Java SE 6 Update 26". Oracle Corporation. 2011-06-07. http://www.oracle.com/technetwork/java/javase/6u26releasenotes-401875.html. Retrieved 2011-06-07. 
  50. ^ Oracle Java SE Critical Patch Update Advisory - June 2011
  51. ^ "Java SE 6 Update 27". Oracle Corporation. 2011-08-16. http://www.oracle.com/technetwork/java/javase/6u27-relnotes-444147.html. Retrieved 2011-08-16. 
  52. ^ "Java SE 6 Update 29". Oracle Corporation. 2011-10-18. http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html. Retrieved 2011-10-18. 
  53. ^ Oracle Java SE Critical Patch Update Advisory - October 2011
  54. ^ "Java SE 6 Update 30". Oracle Corporation. http://www.oracle.com/technetwork/java/javase/6u30-relnotes-1394870.html. Retrieved 2011-12-13. 
  55. ^ JDK7, Sun.
  56. ^ http://www.oracle.com/webapps/events/ns/EventsDetail.jsp?p_eventId=134208&src=7299693&src=7299693&Act=18
  57. ^ "JDK 7 Schedule". http://openjdk.java.net/projects/jdk7/. 
  58. ^ JDK 7 at OpenJDK
  59. ^ http://openjdk.java.net/projects/jdk7/milestones/
  60. ^ Miller, Alex. "Java 7". http://tech.puredanger.com/java7. Retrieved 2008-05-30. 
  61. ^ "Compressed oops in the Hotspot JVM". OpenJDK. http://wikis.sun.com/display/HotSpotInternals/CompressedOops. Retrieved 2010-04-16. 
  62. ^ http://download.oracle.com/javase/7/docs/technotes/guides/language/enhancements.html#javase7
  63. ^ http://download.oracle.com/javase/7/docs/technotes/guides/language/strings-switch.html
  64. ^ http://download.oracle.com/javase/7/docs/technotes/guides/language/try-with-resources.html
  65. ^ http://download.oracle.com/javase/7/docs/technotes/guides/language/type-inference-generic-instance-creation.html
  66. ^ http://download.oracle.com/javase/7/docs/technotes/guides/language/non-reifiable-varargs.html
  67. ^ http://download.oracle.com/javase/7/docs/technotes/guides/language/binary-literals.html
  68. ^ http://download.oracle.com/javase/7/docs/technotes/guides/language/underscores-literals.html
  69. ^ http://download.oracle.com/javase/7/docs/technotes/guides/language/catch-multiple.html
  70. ^ "Concurrency JSR-166". http://gee.cs.oswego.edu/dl/concurrency-interest/index.html. Retrieved 2010-04-16. 
  71. ^ http://java.sun.com/docs/books/tutorial/essential/io/fileio.html
  72. ^ http://java.sun.com/docs/books/tutorial/essential/io/legacy.html
  73. ^ a b "JavaOne 2011 Keynote". Oracle. http://blogs.oracle.com/javaone/resource/java_keynote/slide_16_full_size.gif. 
  74. ^ Java SE 7 Release Notes
  75. ^ Update Release Notes, Java SE 7 Update 1
  76. ^ Update Release Notes, Java SE 7 Update 2
  77. ^ "Project Jigsaw". OpenJDK. http://openjdk.java.net/projects/jigsaw/. 
  78. ^ "Java Module-System Requirements — DRAFT 12". Oracle. http://openjdk.java.net/projects/jigsaw/doc/draft-java-module-system-requirements-12. 
  79. ^ "Java 7 Features". Sun Microsystems. 2010-02-09. http://openjdk.java.net/projects/jdk7/features/#f700. Retrieved 2010-04-16. 
  80. ^ Gafter, Neal (2006-08-18). "Closures for Java". http://gafter.blogspot.com/2006/08/closures-for-java.html. Retrieved 2008-03-09. 
  81. ^ Gosling, James (2008-01-31). "Closures". http://blogs.sun.com/jag/entry/closures. Retrieved 2008-03-09. 
  82. ^ Reinhold, Mark (2009-11-28). "Closures for Java". http://blogs.sun.com/mr/entry/closures. Retrieved 2009-11-24. 
  83. ^ http://javafx.com/roadmap/#4
  84. ^ "JavaOne: JavaFX 2, Java on iOS". http://drdobbs.com/blogs/java/231900029. 

External links